package net.dgg.dggcloud.service.jrcrm.dao.pro;

import net.dgg.dggcloud.core.minidao.annotation.MiniDao;
import net.dgg.dggcloud.core.minidao.hibernate.MiniDaoSupportHiber;
import net.dgg.dggcloud.service.jrcrm.entity.pro.Product;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/11/3.
 */
@MiniDao
public interface ProductDao extends MiniDaoSupportHiber<Product> {
    List<Map> listProductByMap(Map map);
    /**
     *@Description:
     *@Author: litao
     *@Param:ids:"11,2,3"
     *@Date:12:00 2017/11/6
     */
    List<Map> listProductById(Map map);

    Long countProductByMap(Map map);
}
